package org.dubnation.auth.service.impl;

import org.dubnation.auth.domain.Permission;
import org.dubnation.auth.mapper.PermissionMapper;
import org.dubnation.auth.service.IPermissionService;
import org.dubnation.base.service.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhu
 * @since 2023-10-16
 */
@Service
public class PermissionServiceImpl extends BaseServiceImpl<Permission> implements IPermissionService {

    @Autowired
    private PermissionMapper permissionMapper;

    @Override
    public void deleteAll() {
        permissionMapper.deleteAll();
    }
}
